package cn.liulin.llxianjie.controller;

import cn.liulin.llcommon.pojo.response.ResObj;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

/**
 * cn.liulin.llxianjie.controller$
 *
 * @author ll
 * @date 2022-01-18 16:57:32
 **/
@RestController
@RequestMapping("/xianjie/parameter")
public class XianJieParameterController {

    @RequestMapping("/getParameter")
    public ResObj getParameter(HttpServletRequest request) {
        List<String> list = new LinkedList<>();
        Map<String, String[]> parameterMap = request.getParameterMap();
        return ResObj.ok(parameterMap);
    }
}
